package com.lizhenhua.orderclose.follback;

import com.lizhenhua.fmmall.beans.OrderItem;
import com.lizhenhua.orderclose.feiclient.QueryOrderItemFeignClient;
import org.springframework.stereotype.Component;

import java.util.List;

@Component
public class QueryOrderItemFollBack implements QueryOrderItemFeignClient{
    @Override
    public List<OrderItem> queryOrderItem(String orderId) {
        System.out.println("-------------------执行了 queryItem的降级服务");
        return null;
    }
}
